import { Plugin } from "../../core";
import { ReactElement } from "react";

export interface ShowPropertiesMenuItemProps {
  onClick: () => void;
}

export interface RenderShowPropertiesProps {
  onClick(): void;
}

export interface ShowPropertiesProps {
  children?: (props: RenderShowPropertiesProps) => ReactElement;
}

export interface PropertiesPlugin extends Plugin {
  ShowProperties: (props: ShowPropertiesProps) => ReactElement;
  ShowPropertiesButton(): ReactElement;
  ShowPropertiesMenuItem: (props: ShowPropertiesMenuItemProps) => ReactElement;
}
